<?php

function connect()
{
	$con = mysql_connect("mysql10.000webhost.com","a9357319_malo","racerx1!");
	if (!$con)
	{
		die('Could not connect: ' . mysql_error());
	}
	mysql_select_db("a9357319_main", $con);
	return $con;
}

function disconnect($con)
{
	mysql_close($con);
}

function query($q, $con)
{
	return mysql_query($q, $con);
}
?>